package com.qingfeng.medical.biz.information.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.qingfeng.medical.base.domain.entity.BaseEntity;
import com.qingfeng.medical.biz.information.domain.ro.BookingRuleRo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 医院信息设置表
 * 
 * @author 清风学Java
 * @date 2023-04-08 23:43:31
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "医院信息设置表")
@TableName(value = "hospital_info",autoResultMap = true)
public class HospitalInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "医院名")
	private String hospName;

	@ApiModelProperty(value = "医院编号")
	private String hospCode;

	@ApiModelProperty(value = "医院logo")
	private String logoUrl;

	@ApiModelProperty(value = "医院联系人")
	private String contactsName;

	@ApiModelProperty(value = "联系人手机")
	private String contactsPhone;

	@ApiModelProperty(value = "所处地区的邮编")
	private String zipCode;

	@ApiModelProperty(value = "医院地址")
	private String addres;

	@ApiModelProperty(value = "医院路线")
	private String route;

	@ApiModelProperty(value = "医院介绍")
	private String hospContent;

	@ApiModelProperty(value = "系统预约挂号规则介绍")
	@TableField(typeHandler = JacksonTypeHandler.class)
	private BookingRuleRo bookingRule;

}
